package com.zhuang.chapter07.work03;

public class AreaDemo {
	public static void main(String[] args) {
		Area area = new Area();
		Circle circle = new Circle();
		System.out.println("圆的面积-->" + area.getarea(2));
		System.out.println("半圆的面积-->" + circle.getarea(2));
	}
}
